package com.summer.service;

import com.summer.pojo.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookService {
    List<Book> findAllBook ();
    Book findBookById( int id);
    int updateBookById( int id,int count);
    int addBook(Book book);
    int adminupdateBookById(Book book);
    int deleteBookById(int bookid);
}
